package com.ccc.demoboot.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ccc.demoboot.pojo.Materialstor;
import com.ccc.demoboot.dao.MaterialstorMapper;
import com.ccc.demoboot.service.MaterialstorService;

/**
 * @Author wz
 * @Date 2024/6/28 10:32
 * @PackageName:com.ccc.demoboot.service
 * @ClassName: MaterialstorServiceImpl
*/
@Service
public class MaterialstorServiceImpl extends ServiceImpl<MaterialstorMapper, Materialstor> implements MaterialstorService{


    @Override
    public List<Map<String, Object>> selectAllMaterialstor(QueryWrapper queryWrapper,int status,int applyuserid) {
        return this.baseMapper.selectAllMaterialstor(queryWrapper,status,applyuserid);
    }
    @Override
    public Map<String, Object> selectOne(int id) {
        return this.baseMapper.selectOne(id);
    }

    @Override
    public List<Materialstor> selectMareList() {

        return this.baseMapper.selectMareList();
    }

    @Override
    public List<Map<String, Object>> uniSelectAllMaterialstor(int status, Integer applyuserid) {
        return this.baseMapper.uniSelectAllMaterialstor(status,applyuserid);
    }
}
